package com.brspace.qualitycontrol.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author wangt
 * @Date 2021/5/7 9:06
 * @Version 1.0
 */
@Data
public class LetterListVo {
    @ApiModelProperty(value = "uuid")
    private String id;

    @ApiModelProperty(value = "信访编号")
    private String letterNumber;

    @ApiModelProperty(value = "信访日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date letterTime;

    @ApiModelProperty(value = "期限答复")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date termReply;

    @ApiModelProperty(value = "限办天数")
    private Integer dateNumber;

    @ApiModelProperty(value = "限办天数")
    private String title;

    @ApiModelProperty(value = "信访人")
    private String user;

    @ApiModelProperty(value = "办理方式")
    private String mode;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "状态：0：已归档或已完成或以同意 1 退回 2 审查分流 3 交办 4 处理 5 答复意见  ")
    private String state;

    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date times;

    @ApiModelProperty(value = "类别 0:来信1：领导信箱2：网信")
    private int typeSta;
}
